package com.yoga.mapper;

import com.yoga.entity.YogaCoach;
import com.yoga.entity.YogaCoachExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YogaCoachDao {
    long countByExample(YogaCoachExample example);

    int deleteByExample(YogaCoachExample example);

    int deleteByPrimaryKey(Integer uid);

    int insert(YogaCoach record);

    int insertSelective(YogaCoach record);

    List<YogaCoach> selectByExample(YogaCoachExample example);

    YogaCoach selectByPrimaryKey(Integer uid);

    int updateByExampleSelective(@Param("record") YogaCoach record, @Param("example") YogaCoachExample example);

    int updateByExample(@Param("record") YogaCoach record, @Param("example") YogaCoachExample example);

    int updateByPrimaryKeySelective(YogaCoach record);

    int updateByPrimaryKey(YogaCoach record);
}